#pragma once

#include <QTcpSocket>
#include <QTimer>
#include <QObject>
#include <QByteArray>

struct parsedQuery;

class http_client : public QObject
{
    Q_OBJECT

    public:
        http_client(QTcpSocket *s);
        ~http_client();

        QTcpSocket *socket;
        QByteArray buffer;
        
        parsedQuery *header;
};
